package myQueue;

import pojo.Pet;

public class PetEnterQueue {
    /**
     * 宠物
     */
    private Pet pet;
    /**
     * 时间
     */
    private long time;

    public PetEnterQueue(Pet pet,
                         long time) {
        this.pet = pet;
        this.time = time;
    }


    public Pet getPet() {
        return pet;
    }

    public void setPet(Pet pet) {
        this.pet = pet;
    }

    public long getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }
}
